#!/bin/bash

uid=$1

sudo -u "#$uid" cp /bin/true /tmp/tpe-tests
sudo -u "#$uid" /tmp/tpe-tests

ret=$?

rm -f /tmp/tpe-tests

if [ $ret == 0 ]; then
	exit 1;
else
	exit 0;
fi

